package com.cyy.admin.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统菜单表
 * 
 * @author chenyuyi
 * @date 2021-12-10 09:53:09
 */
@Data
@Table(name = "sys_menu")
@ApiModel(value = "SysMenu",description = "系统菜单表")
@Entity
public class SysMenuEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 *  菜单id
	 */
	@ApiModelProperty(value = "菜单id")
	@Id
	private String id;

	/**
	 *  菜单名称
	 */
	@ApiModelProperty(value = "菜单名称")
	private String name;

	/**
	 *  菜单路径
	 */
	@ApiModelProperty(value = "菜单路径")
	private String url;

	/**
	 *  上级id
	 */
	@ApiModelProperty(value = "上级id")
	private String pid;

	/**
	 *  同级排序权重：0-10
	 */
	@ApiModelProperty(value = "同级排序权重：0-10")
	private Integer orderNum;

	/**
	 *  创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	/**
	 *  修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;

	/**
	 *  菜单类型
	 */
	@ApiModelProperty(value = "菜单类型")
	private String type;
	
}